﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using SIPDTO;

namespace SIPBLL
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ISIPBLL" in both code and config file together.
    [ServiceContract]
    public interface ISIPBLL
    {
        [OperationContract]
        void DoWork();

        /// <summary>
        /// Módulo Administración
        /// Mantenimientos
        /// </summary>
        [OperationContract]
        dtoError AceptarParroquia(dtoParroquia parroquia, int evento);

        [OperationContract]
        dtoError AceptarProvincia(dtoProvincias provincia,int evento);

        [OperationContract]
        dtoError AceptarCanton(dtoCanton canton, int evento);

        [OperationContract]
        dtoError AceptarDistrito(dtoDistrito distrito, int evento);

        [OperationContract]
        dtoError AceptarDiocesis(dtoDiocesis diocesis, int evento);



        /// <summary>
        /// Módulo Parroquial
        /// Mantenimientos
        /// </summary>
         [OperationContract]
        dtoError CrearUsuario(dtoUsuario func, int evento);

         [OperationContract]
         dtoError RegistrarPersonas(dtoPersonas personas,int evento);


         [OperationContract]
         dtoError RegistrarClerigo(dtoClerigo clerigo,int evento);

         [OperationContract]
         List<dtoProvincias> ObtenerProvincia();

    }
}
